diff options
Diffstat (limited to 'src/routes/(app)/[username]/dashboard')
| -rw-r--r-- | src/routes/(app)/[username]/dashboard/+page.svelte | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/src/routes/(app)/[username]/dashboard/+page.svelte b/src/routes/(app)/[username]/dashboard/+page.svelte index 93fac986..0ea0e0a8 100644 --- a/src/routes/(app)/[username]/dashboard/+page.svelte +++ b/src/routes/(app)/[username]/dashboard/+page.svelte @@ -52,23 +52,25 @@ </div> <div class="grid sm:grid-cols-2 gap-2 mt-8"> + <a href="/send"> + <button class="rounded-full border py-2 px-5 font-bold hover:opacity-80 w-full mb-2" + >{$t('user.dashboard.withdraw')}</button + > + </a> <a href={`/${user.username}/receive`}> <button class="rounded-full border py-2 px-5 font-bold hover:opacity-80 w-full mb-2" >{$t('user.dashboard.receive')}</button > </a> - {#if user.account.balance > 0} - <a href="/send"> - <button class="rounded-full border py-2 px-5 font-bold hover:opacity-80 w-full mb-2" - >{$t('user.dashboard.withdraw')}</button - > - </a> - {:else} - <a href={`/${user.username}/settings`}> - <button class="rounded-full border py-2 px-5 font-bold hover:opacity-80 w-full mb-2" - >Setup Account</button - > - </a> - {/if} + <a href={`/${user.username}/settings`}> + <button class="rounded-full border py-2 px-5 font-bold hover:opacity-80 w-full mb-2" + >Setup Account</button + > + </a> + <a href={`/${user.username}/address`}> + <button class="rounded-full border py-2 px-5 font-bold hover:opacity-80 w-full mb-2" + >Deposit</button + > + </a> </div> </div> |
